import { base } from './basic/base';
import { msg } from './basic/msg';
import { open } from './basic/open';
import { system } from './basic/system';
import { user } from './basic/user';
import { application } from './devOperation/application';
import { developer } from './devOperation/developer';
import { ops } from './devOperation/ops';
import { sop } from './devOperation/sop';
import { system as devSystem } from './devOperation/system';
import { tenant } from './devOperation/tenant';
import { customers } from './iot/customers/customers';

/**
 * 按钮权限定义
 */
export const PermCode = {
  basic: {
    open,
    base,
    msg,
    system,
    user,
  },
  devOperation: {
    sop,
    tenant,
    application,
    developer,
    ops,
    system: devSystem,
  },
  iot: {
    customers,
  },
};
